package checkpoint;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

public class RemoveTimeFromBufferButton extends JButton implements ActionListener{

	Model guiModel;
	public RemoveTimeFromBufferButton(Model guiModel){
		super("Remove Time");
		this.guiModel = guiModel;
		addActionListener(this);
	}
	public void actionPerformed(ActionEvent e) {
		guiModel.removeLastTimeWithoutId();
		
	}

}
